from flask import Flask

app = Flask(__name__)

@app.route('/api/ping')
def ping():
    return {'msg': 'pong'}

if __name__ == '__main__':
    app.run(port=5000)
